<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>{{$pageTitle}}</title>
{{$this->Html->meta('icon')}}
{{$this->Html->css(array(
            'bootstrap.min.css',
           'ui-customer',
        ));
}}
{{$this->Html->script(array(
            'jquery/jquery.min.js',
            'bootstrap.min.js',
        ));
}}
</head>
<body>
<div id="wrapper">

<div class="modal fade in"  style="display: block;">
    <div class="modal-dialog">
    <div class="modal-content">
        <div class="modal-header">
        <h3>{{__('Notice Message')}}</h3>
        </div>
        
        <div class="modal-body">
        	<?php
	    $flash_msg =  $this->Session->flash();
	if($flash_msg){
		echo "<div class=\"container hide\">$flash_msg</div>";
	}
	//注意#maincontent中，只包含一个'.container'，否则无法前台编辑模板可能会走样。多行的使用实现使用<div class="row"></div>。
	?>
        	{{$message}}
        </div>
        <div class="modal-footer">
        	{{if $url}}
    		<a href="{{eval echo $this->Html->url($url,array('class'=>"btn btn-primary"));}}">{{__('Click here to go!')}}</a>
    		<meta http-equiv="refresh" content="{{$seconds}}; url={{$this->Html->url($url);}}" />
    		{{/if}}
        </div>
    </div>
    </div>
</div>
</div>
</body>
</html>